

<template>
	<uni-popup ref="gonggao_pop">
		<view class="gonggao4s">
			<view class="title">
				公告
			</view>
			<view class="black_1">
				<scroll-view scroll-y="true" @scrolltolower="scroll" class="buyChicken_block_centent">
					<view class="item">
						<u-parse :content="message"  ></u-parse>
					</view>
				</scroll-view>
				<!-- view class="black_2">
					07-18 16:03
				</view> -->
			</view>
			
		</view>
		<view style="height: 20px;"></view>
		<view class="bottom">
			<image class="close" @click="close" src="/static/my/close2.png"></image>
		</view>
	</uni-popup> 
</template>

<script>
	
	export default {
		
		name:"gonggao",
		data() {
			return {
				current:0,
				message:''
			};
		},
		methods:{
			open(mess){
				this.message = mess
				this.$refs.gonggao_pop.open()
			},close(){
				this.$refs.gonggao_pop.close()
			},
			select(index){
				
			},
			toPay(){
			},
			scroll() {
			
			},
		}
	}
</script>

<style scoped lang="less">
.gonggao4s{
	background-color: #E4FEEE;
	// background: url(@/static/index/gonggao_bg.png) no-repeat;
	background-size: 100% 100%;
	border-radius: 10px;
	padding: 2px;
	.title{
		text-align: center;
		
		font-weight: 800;
		font-size: 42rpx;
		font-weight: bold;
		color: #262626;
		padding: 10px 10px 10px 10px;
	}
	
	.black_1{
		
		
		// margin: 2px;
		
		.buyChicken_block_centent{
			height: 200px;
			width: 600rpx;
		}
		.item{
			padding: 10px 10px 10px 10px;
			font-size: 28rpx;
			font-weight: 400;
			color: #333333
		}
		.black_2{
			text-align: center;
			margin: auto;
			padding: 10px;
			font-size: 28rpx;
			font-weight: 400;
			color: #333333;
		}
	}
	
}

.bottom{
	text-align: center;
}
.close{
	text-align: center;
	margin: auto;
	width: 30px;
	height: 30px;
}
</style>